
export const baseInfo = {
  path: "baseInfo", name: "baseInfo", component: () => import("@/views/baseInfo/index.vue"), children: [
    { path: "home", name: "home", component: () => import("@/views/baseInfo/home.vue"), meta: { title: "首页", per: 1 } },
    // { path: "group", name: "group", component: () => import("@/views/baseInfo/group.vue"), meta: { title: "用户分组", ps: "用户分组查询" } },
    { path: "user", name: "user", component: () => import("@/views/baseInfo/user.vue"), meta: { title: "用户信息", ps: "用户查询" } },
    { path: "goodsType", name: "goodsType", component: () => import("@/views/baseInfo/goodsType.vue"), meta: { title: "商品类型", ps: "商品类型查询" } },
    { path: "goods", name: "goods", component: () => import("@/views/baseInfo/goods.vue"), meta: { title: "商品", ps: "商品查询" } },
    { path: "stock", name: "stock", component: () => import("@/views/baseInfo/stock.vue"), meta: { title: "库存", ps: "库存查询" } },
    // {
    //   path: "data", name:"data", component: () => import("@/views/baseInfo/data/index.vue"), meta: { title: "期初", per: 2 },
    //   redirect: "/baseInfo/data/goods", children: [
    //     { path: "goods", name:"data/goods", component: () => import("@/views/baseInfo/data/goods.vue"), meta: { title: "商品", per: 2 } },
    //   ]
    // },

  ], meta: {
    title: "基本信息"
  },
  get redirect() { return this.children[0].path; }
} as const;
export default baseInfo;